<script setup>
const globalData = window.microApp.getGlobalData()

console.log('data1111', window.microApp, globalData,)
const handleTest = () => {
  globalData.logFun()
}
</script>

<template>
  <main>
    <h1 @click="handleTest">testClick</h1>
    子应用 <strong>sub1</strong> 的首页 <br/>
    {{ `当前应用url: ${globalData.curUrl}, 当前应用的key：${globalData.curMenuKey}` }}
  </main>
</template>
